package com.jdd.modules.parking.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.jdd.modules.parking.entity.ParkArmInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 车场出入口配置
 * @Author: jdd
 * @Date:   2021-02-15
 * @Version: V1.0
 */
public interface ParkArmInfoMapper extends BaseMapper<ParkArmInfo> {

    /**
     * 清空表数据
     * @return true 成功
     * */
    boolean removeAllInfo();

    ParkArmInfo queryParkArmInfoBySerialNo(String serialNo);
    ParkArmInfo getParkArmBySerialNo(@Param("serialNo") String serialNo);
    List<String> getParkArmInfoSerialNo();

    ParkArmInfo getArmByName(@Param("armName") String armName);
}
